#main {
  > section {
    background: white;
    margin-bottom: .5rem;
  }
}

.room-price-detail {
  position: fixed;
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: stretch;
  background: rgba(0, 0, 0, .2);

  > div {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    padding: .5rem;
    background: white;
    font-size: 14px;
  }
}

.room-submit {
  display: flex;
  align-items: stretch;
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
  background: white;
  padding-left: .5rem;
  min-height: 2.2rem;

  > * {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-grow: 1;
    font-size: 14px;
    padding: .2rem 0;

    &.big {
      font-size: 16px;
      font-weight: 500;
    }
  }

  .submit {
    background: darkorange;
    color: white;
    text-align: center;
    border: 1px solid darkorange;
    min-height: 100%;
  }
}

.highlight {
  color: orangered;
}

.detail-switch {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-size: 10px;
  transition: all .3s;

  &.switch-open {
    .icon {
      transform: rotate3d(0, 0, 1, 180deg);
    }
  }
  .icon {
    font-size: 10px;
  }
}

.text-omit(@line:2) {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: @line;
  -webkit-box-orient: vertical;
}

.room-title {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: .5rem;
  background: white;
  margin-bottom: .5rem;

  img {
    max-width: 30%;
    flex-shrink: 1;
    margin-right: .5rem;
  }

  > div {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: stretch;

    > div {
      display: flex;
      justify-content: space-between;
      align-items: center;
    }
  }

  h1 {
    .text-omit(2);
    font-size: 14px;
    font-weight: 500;
    line-height: 16px;
    height: 32px;
    margin-top: 0;
    padding-bottom: 3px;
  }

  .small {
    font-size: 13px;
  }
}

.tips {
  color: #929292;
}

.room-info {
  > div {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: .5rem;
    font-size: 14px;
    * {
      white-space: nowrap;
    }
  }
  #realName {
    padding: 0;
    font-size: 14px;
    text-align: right;
    height: 23px;
  }
}

.info-date {

}

.check-in-guys {

}

.room-refund,
.room-insurance {
  > div {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: .5rem;
    font-size: 14px;
    * {
      white-space: nowrap;
    }
    .icon {
      color: #929292;
      font-size: 12px;
    }
  }
}

.fxj-select-box__date--title {
  height: 4rem;
}

div.warning {
  color: red;
  font-size: 17px;
}